The php has a system-by-File size function, which is filesize (), but this function is in bytes, in some cases, we need to be very intuitive to understand a file size, not only need byte B this unit, but also need KB,MB,GB, Even bigger TB,PB, so
The file allocation table is used to indicate the space allocation information of disk files.
Directory
Table information is not actually stored.
When a file occupies disk space, the basic unit is not a byte but a cluster. The cluster size is
Adjust the size of Linux Disk Partitions when using linux, sometimes some partitions are insufficient due to improper partition space during system installation, and some partition space is too large. for example, I installed the/usr/local
This article describes how to optimize MySQL configuration file my. cnf. For more information, see MySQL 5.5.13.
Parameter description:
[Client]
Character-set-server = utf8
Port = 3306
Socket =/data/mysql/3306/mysql.
Large data calculation: How to use only 1.5KB memory as 1 billion object count-Hyper loglog algorithm
Big Data counting:how to Count A billion Distinct Objects Using 1.5K
This is a guest post by Matt Abrams (@abramsm), from Clearspring, discussing
Detailed usage of C language file read/write operations
C file operations1. Read one file to another, and use "(ch = getc (fp ))! = EOF "to determine whether the file ends. If
The file size is the same as the size of the original file.
Text or
Detailed usage of C language file read/write operationsC file operations1. Read one file to another, and use "(ch = getc (fp ))! = EOF "to determine whether the file ends. IfThe file size is the same as the size of the original file.Text or binary
In mysql, in addition to program operations, we also have an important file to optimize mysql performance. ini is the file we want to talk about. Next I will introduce my. use the parameters in the INI file.
In mysql, in addition to program
This configuration was used by the old boy on the production line. During the training, he gave it. Here, I added Chinese characters to the parameters, indicating that the configuration has been optimized, if your mysql has no special circumstances,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.